// RMSTranslatorDlg.h : header file
//

#if !defined(AFX_RMSTRANSLATORDLG_H__4F91E5EB_BE0C_4511_B03E_38A6E3D9776B__INCLUDED_)
#define AFX_RMSTRANSLATORDLG_H__4F91E5EB_BE0C_4511_B03E_38A6E3D9776B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CRMSTranslatorDlg dialog
#include "..\RMSServer\RMSBaseServer.h"
#include "..\GUI\MegaBitmap.h"

class CRMSTranslatorDlg : public CDialog
{
// Construction
public:
	CBaseServer		m_Server;

	CRMSTranslatorDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CRMSTranslatorDlg)
	enum { IDD = IDD_RMSTRANSLATOR_DIALOG };
	CListBox	m_listEncoders;
	CListBox	m_listConnections;
	CString	m_ReflectorIP;
	CString	m_ServerIP;
	CString	m_ServerPort;
	CMegaBitmap m_SBLogo;
#if defined _TEC_
	CMegaBitmap m_JNCLogo;
#endif //defined _TEC_
	//}}AFX_DATA

	CString	m_homePath;
	void initHomePath();
	LPCTSTR getHomePath();
	void saveHomePath(LPCTSTR home);

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRMSTranslatorDlg)
	public:
	virtual BOOL DestroyWindow();
	protected:
	virtual BOOL OnInitDialog();
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CRMSTranslatorDlg)
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnChangeServer();
	afx_msg void OnChangeReflector();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnAbout();
	afx_msg void OnExit();
	afx_msg void OnEditCameraInformation();
	afx_msg void OnRecord();
	afx_msg void OnSetPassword();
	afx_msg void OnSetHomePath();
	afx_msg void OnHelp();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_RMSTRANSLATORDLG_H__4F91E5EB_BE0C_4511_B03E_38A6E3D9776B__INCLUDED_)
